<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./css/index_1.css">
  <link rel="stylesheet" href="./css/base.css">
  <style>
    .category {
        display: flex;
    }

    .search2 {
        flex: 1;
        width: 100%;
        margin-bottom: 10px;
        justify-content: center;
        align-items: center;
        height: 120%;
    }

    .want-stars {
        flex: 1;
        margin-left: 20px; /* 控制表单和列表之间的间距 */
        width: 100%;
    }

    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
    }

    li {
        margin-right: 10px; /* 控制列表项之间的间距 */
        transition: transform 0.3s; /* 添加过渡效果 */
    }
    li:hover {
        transform: scale(1.1); /* 鼠标悬停时放大元素 */

    }
    li:hover h4 {
        color: #00a4ff; /* 鼠标悬停时文字颜色变为红色 */
    }
    .star {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column;
    }
    .star ul {
        display: flex;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .star li {
        list-style: none;
        margin: 10px;
        display: inline-block;
    }

    .star img {
        width: 100px;
        height: 100px;
        border-radius: 50%; /* 将图片变成圆形 */
        object-fit: cover;
    }
    h4 {
        margin-top: 5px;
    }
    .want-stars li:nth-child(n+10) {
        display: none; 
    }
    .want-stars ul {
        display: flex; /* 使用 Flexbox 布局 */
        justify-content: space-between; /* 在主轴上均匀分配元素间的空间 */
    }
    #wantForm {
        display: flex;
        align-items: center; /* 在交叉轴上居中对齐 */
        padding: 20px;
        border-radius: 5px;
    }
    
    #wantForm input,
    #wantForm select {
        margin: 5px;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 3px;
        margin-right: 30px;
    }

    #wantForm button {
        padding: 8px 20px;
        background: #00a4ff;
        color: white;
        border: none;
        border-radius: 3px;
        cursor: pointer;
        
    }

    #wantForm button:hover {
        background: #0056b3;
    }
    .hotStar {
        margin-right: auto; /* 使用 auto 将元素推到右边 */
    }

</style>
</head>
<body>
  <div class="header">
    <div class="wrapper">
        <!-- logo -->
        <div class="logo">
            <a href="#"></a>
        </div>
        <!-- 导航 -->
        <div class="nav">
            <ul>
                <li>
                    <a href="#">首页</a>
                </li>
                <li>
                    <a href="#">课程</a>
                </li>
                <li>
                    <a href="#">职业规划</a>
                </li>
            </ul>
        </div>
        <!-- 搜索 -->
        <div class="search">
            <input type="text" placeholder="请输入关键字">
            <a href="#"></a>
        </div>
        <!-- 用户 -->
        <div class="user">
            <a href="#">
                <img src="./uploads/user.png" alt="#">
                <span>卖报的小行家</span>
            </a>
        </div>
    </div>
  </div>
  <div class="category">
      <div class="wrapper">
          <div class="star">
            <div class="search2">
                <form action="" id="wantForm">
                    姓名：<input type="text" name="name" id="">
                    地区：<input type="text" name="country" id="">
                    风格：<select name="style" id="style">
                        <option value="">请选择</option>
                        <option value="1">流行</option>
                        <option value="2">摇滚</option>
                        <option value="3">民谣</option>
                        <option value="4">蓝调</option>
                        <option value="5">爵士</option>
                        <option value="6">funk</option>
                        <option value="7">重金属</option>
                        <option value="8">古典</option>
                        <option value="9">电子音乐</option>
                        <option value="10">fusion</option>
                    </select>
                    性别： <select name="gender" id="">
                        <option value="">请选择</option>
                        <option value="1">男</option>
                        <option value="2">女</option>
                    </select>
                    <button type="submit">搜索</button>
                </form>
            </div>
            <div class="want-stars">
                <div class="hotStar">
                    <h2>热门歌手</h2>
                </div>
                <ul></ul>  
            </div>  
        </div>
      </div>
      
  </div>
  <div class="songs">
      <a href="singer-detail.html">123</a>
  </div>
  <script src="axios.min.js"></script>
  <script src="music-style.js"></script>
</body>
</html>